package grpc_client

import (
	"longmen/server/config/global"
	_const "longmen/server/pkg/common/helper/const"
	pb "longmen/server/pkg/protobuf"
)

// models_live
var GrpcGameServer pb.GameServiceClient

func InitGameGrpc(token *Token) {
	tencentImConn := getClientConn(global.GetMicroserviceName(_const.GRPC_GAMES_SERVER_NAME_KEY), token)
	GrpcGameServer = pb.NewGameServiceClient(tencentImConn)
}
